package zhh.tangbao.wechat.vo.order;

import com.google.common.collect.Lists;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 描述
 * </p>
 *
 * @author 粥灰灰
 * <p>2023/5/4</p>
 */

@Data
public class OrderMachineDetailVo {

    private String machineImg;

    private String machineName;

    private String machinePosition;

    private List<OrderContentDetailVo> contents;

    private Integer take;

    public OrderMachineDetailVo() {
        this.contents = Lists.newArrayList();
    }

    public OrderMachineDetailVo(OrderContentDetailDaoVo OCDDV) {
        this.machineImg = OCDDV.getMachineImg();
        this.machineName = OCDDV.getMachineName();
        this.machinePosition = OCDDV.getMachinePosition();
        this.contents = Lists.newArrayList();
    }
}
